/**
 * Created with IntelliJ IDEA.
 * User: Olfa
 * Date: 07/06/13
 * Time: 15:50
 * To change this template use File | Settings | File Templates.
 */

$(document).ready(function () {
    $.ajax({
        type: "GET",
        url: "/First-EndToEnd/locality/getAllLocalitiesNames",
        success: function (response) {

            $("#locality").autocomplete({
                source: response
            });

        }
    });

});
